<h1><?PHP echo htmlentities($language->getString("ADD_IMAGE")); ?></h1>
<?PHP
  $template = new Template();
  $template->load("message");
  if(ImageServer::insert($_POST['path'],$_POST['name'],$_POST['description'])){
    $template->assign_var("MESSAGE",htmlentities($language->getString("IMAGE_ADDED")));
  }
  else{
    $template->assign_var("MESSAGE",htmlentities($language->getString("IMAGE_NOT_ADDED")));
  }
  $template->output();
?>